<template>
  <div id="app">
    <router-view></router-view>
    <tab-bar v-show="tabBarShow"></tab-bar>
  </div>
</template>

<script>
import TabBar from '@/components/TabBar/TabBar'
export default {
  name: 'app',
  data () {
    return {
      
    }
  },
  created () {
    this.$store.dispatch('setBannar')
    this.$store.dispatch('setClassifys')
  },
  computed: {
    tabBarShow () {
      return this.$store.state.tabBarShow
    }
  },
  components: {
    TabBar
  }
}
</script>

<style>
</style>
